//
//  XQButton.h
//  JoinPeso
//
//  Created by 小琦 on 2024/11/22.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface XQButton : UIView

@property (nonatomic,copy) NSString *title;

@property (nonatomic,strong) UIColor *bgColor;

@property (nonatomic, assign) BOOL enabled;

@property (nonatomic,copy) void(^onTapHandle)(void);

- (instancetype)initWithTitle:(NSString *)title;

- (instancetype)initWithTitle:(NSString *)title bgColor:(UIColor *)color;

@end

NS_ASSUME_NONNULL_END
